package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.REPAYMENT_LINK;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;


public class RepaymentLinkApi implements IRequestApi, IRequestType {

    private ReqRePaymentLinkBean overripe;

    public RepaymentLinkApi(ReqRePaymentLinkBean bean) {
        this.overripe = bean;
    }

    @NonNull
    @Override
    public String getApi() {
        return REPAYMENT_LINK;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }

    public static final class ReqRePaymentLinkBean {
        private String cindy;
        private String kill;
        private String buckthorn;
        private String zoophytology;

        public void setCindy(String cindy) {
            this.cindy = cindy;
        }

        public void setKill(String kill) {
            this.kill = kill;
        }

        public void setBuckthorn(String buckthorn) {
            this.buckthorn = buckthorn;
        }

        public void setZoophytology(String zoophytology) {
            this.zoophytology = zoophytology;
        }
    }

    public static final class ResRePaymentLinkBean {
        private String cindy;
        private String plasmagene;
        private double tubulure;
        private String acidfast;
        private int rangette;
        private String semplice;
        private String bacchii;
        private String buckthorn;

        private String modulability;
        private String invidious;
        private String reluctant;
        private String satisfy;

        public String getCindy() {
            return cindy;
        }

        public String getPlasmagene() {
            return plasmagene;
        }

        public double getTubulure() {
            return tubulure;
        }

        public String getAcidfast() {
            return acidfast;
        }

        public int getRangette() {
            return rangette;
        }

        public String getSemplice() {
            return semplice;
        }

        public String getBacchii() {
            return bacchii;
        }

        public String getBuckthorn() {
            return buckthorn;
        }

        public String getModulability() {
            return modulability;
        }

        public String getInvidious() {
            return invidious;
        }

        public String getReluctant() {
            return reluctant;
        }

        public String getSatisfy() {
            return satisfy;
        }
    }
}